The following documentation contains test scripts
and expected results for validating the CDISC Builder
tool. Do the following to verify proper
installation:
- Start CDISC Builder application by double
clicking on the desktop icon.
-
Perform each test by performing the steps specified
by the instructions.
- Evaluate the results of each step by comparing
them with results described in the Documentation
column.
Instructions 1
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual1.sas program and select
"Batch Submit".
-
Open
the suppqual1.log file in a text editor.
-
Verify that the following
messages are produced.
-
ERROR:
[suppqual] is missing required parameter DATA.
-
ERROR:
[suppqual] "Data" parameter must be a two level dataset name.
-
ERROR:
[suppqual] specified data sample.invalid does not exist.
-
This
can be verified against the suppqual1.log found in the
benchmark area.
Instructions 2
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual2.sas program and select
"Batch Submit".
-
Open
the suppqual2.log file in a text editor.
-
Verify that the following
messages are produced.
-
This
can be verified against the suppqual2.log found in the
benchmark area.
Instructions 3
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory..
-
Right
mouse click on the suppqual3.sas program and select
"Batch Submit".
-
Open
the suppqual3.log file in a text editor.
-
Review
the suppqual3.log file and verify that the following
message is produced.
-
This
can be verified against the suppqual3.log found in the
benchmark area.
Instructions 4
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual4.sas program and select
"Batch Submit".
-
Open
the suppqual4.log file in a text editor.
-
Verify that the following
message is produced.
-
This
can be verified against the suppqual4.log found in the
benchmark area.
Instructions 5
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual5.sas program and select
"Batch Submit".
-
Open
the suppqual5.log in text editor.
-
Verify that the following
message is produced.
- ERROR:
[suppqual] has an invalid IDVAR specified.
-
This
can be verified against the suppqual5.log found in the
benchmark area.
Instructions
6
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory..
-
Right
mouse click on the suppqual6.sas program and select
"Batch Submit".
-
Open
the suppqual6.log in text editor.
-
Verify that the following
message are produced.
-
ERROR:
[suppqual] has an invalid QORIG specification.
NOTE: valid values include:
"CRF","ASSIGNED","DERIVED".
-
ERROR:
[suppqual] does not have a one to one correspondence between VARNAME and
QORIG.
-
This
can be verified against the suppqual6.log found in the
benchmark area.
Instructions
7
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual7.sas program and select
"Batch Submit".
-
Open
the suppqual7.log in text editor.
-
Verify that the following
message is produced.
-
This
can be verified against the suppqual7.log found in the
benchmark area.
Instructions
8
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual8.sas program and select
"Batch Submit".
-
Open
the suppqual8.log in text editor.
-
Verify that the following
message is produced.
-
This
can be verified against the suppqual8.log found in the
benchmark area.
Instructions
9
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual9.sas program and select
"Batch Submit".
-
Open
the suppqual9.log in text editor.
-
Verify that the following
messages are produced.
- NOTE: [suppqual] has created the new output data: inlib.SUPPQUAL_
at: c:\temp\cdiscbuilder\input
- NOTE: [suppqual] has created the new output data: inlib.suppqual_test1
at: c:\temp\cdiscbuilder\input
- NOTE: [suppqual] has created the new output data: curdir.suppqual_
at: C:\Temp\cdiscbuilder\saspgm
- Verify that
there are two datasets which are suppqual_ and
suppqual__index created in the "saspgm"
directory.
- Navigate to
the validation "data" directory.
- Verify that
there are four datasets which are suppqual_,
suppqual__index, suppqual_test1 and suppqual_test1_index created.
Instructions
10
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual10.sas program and select
"Batch Submit".
-
Open
the suppqual10.lst in a text editor.
-
Search
for the title "Related Domain was not specified"
in the .lst file.
-
Verify
that the rdomain variable of the table printed with the
title above has no value.
-
Search
for the title "Related Domain was specified" in
the .lst file.
-
Verify
that the rdomain variable of the table printed with the
title "Related Domain was specified" contains
value.
-
This
can be verified against the suppqual10.lst found in the
benchmark area.
Instructions
11
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual11.sas program and select
"Batch Submit".
-
Open
the suppqual11.lst in a text editor.
-
Search
for the title "Identification variable was not
specified" in the .lst file.
-
Verify
that the idvar and idvarval variables of the table printed
with the title above have no value.
-
Search
for the title "Identification variable was
specified" in the .lst file.
-
Verify
that the idvar and idvarval variables of the table printed
with the title "Related Domain was specified"
contain values.
-
This
can be verified against the suppqual11.lst found in the
benchmark area.
Instructions
12
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual12.sas program and select
"Batch Submit".
-
Open
the suppqual12.lst in a text editor.
-
Search
for the title "Original source of variables were not
specified" in the .lst file.
-
Verify
that the qorig variable of the table printed with the
title above has only one type of value which is CRF.
-
Search
for the title "Original source of variables were
specified" in the .lst file.
-
Verify
that the qorig variable of the table printed with the
title "Original source of variables were
specified" contain three type of values which are CRF,
ASSIGNED, and DERIVED.
-
This
can be verified against the suppqual12.lst found in the
benchmark area.
Instructions
13
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the suppqual13.sas program and select
"Batch Submit".
-
Open
the suppqual13.lst in a text editor.
-
Verify
that the variable QNAM contains three types of value which
are excat, exdosu, and siteid.
-
Verify
that the variables QLABEL and QVAL contain the labels and
values corresponding to the variable excat, exdosu, and
siteid in the input dataset.
-
This
can be verified against the suppqual13.lst found in the
benchmark area.
Instructions
14
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Delete
dataset suppqual if any.
-
Open
the suppqual14.sas in a text editor.
-
Modify
the base code path to point to the current "saspgm"
folder in you pc.
-
Save
and close the program.
-
Right
mouse click on the suppqual14.sas program and select
"Batch Submit".
-
Verify
that it generates a new suppqual dataset, a suppqualindex
dataset, and a
basecode14.sas program in the current "saspgm"
directory.
-
Rename
the suppqual dataset to supp1.
-
Rename
the suppqualindex dataset to supp1index.
-
Right
mouse click on the basecode14.sas program and select
"Batch Submit".
-
Verify
that it creates two new suppqual and suppqualindex datasets in the "saspgm"
directory.
-
Open
the two datasets supp1 and suppqual in either SAS Viewer
or SAS System.
-
Verify
that they have the same contents.
-
Open
the two datasets supp1index and suppqualindex in either
SAS Viewer or SAS System.
-
Verify
that they have the same contents.
-
Navigate
to the validation "data" directory.
-
Create
a new empty sas program named "reverse" in the "saspgm"
directory.
-
Open
the basecode14.sas program in a text editor.
-
Copy
the two libname statements to the reverse.sas program.
-
Copy
the statements inside the comment block "/*** Optional
code used for reverse transposition ***" to
reverse.sas program.
-
Save
and close the reverse.sas program.
-
Right
mouse click on the reserse.sas program and select
"Batch Submit".
-
Verify
that it re-creates a rev_suppqual_supp1_dm dataset in "data"
directory.
-
Open
the rev_suppqual_supp1_dm dataset which has just been created in either
SAS Viewer or SAS System.
-
Verify
that there are 4 variables in the current
rev_suppqual_supp1_dm dataset which
are variables specified by usubjid, idvar, and varname.
-
Close
the rev_suppqual_supp1_dm dataset and delete it from the "data"
directory.
For more information, please contact MXI
.
|